﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicViet.Models.mvNew>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ThongTinSucKhoe
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<td align="left" valign="top" id="sidebar">
        <ul class="sidebar-nav">
            <li><a href="/News/ThongTinSucKhoe">Thông Tin Sức Khỏe</a></li>
            <li><a href="/News/TinTucYHoc">Tin tức y học</a></li>
        </ul>
    </td>
    <td align="left" valign="top" width="14">
        &nbsp;
    </td>
    <td align="left" valign="top" style="padding-top: 13px;">
        <h1>
            Tin Tức</h1>
        <% foreach (var item in Model)
           { %>
        <div style="padding: 10px 0 10px 0">
            <div class="ourprojectrow">
                <h6>
                    <a href="/News/Details/<%= item.id %>">
                        <%= item.title %></a></h6>
                <br />
                <img src='../../Content/Upload/Thumb/<%= item.thumbPath %>' width="144" height="117"
                    align="right" alt="Tin Tức" />
                <div class="blog-posted-row">
                    Đăng ngày
                    <%= item.dateCreate %>
                    bởi
                    <%= item.mvUser.username %>
                    <a href="#">
                        <%= item.mvUser.username %></a></div>
                <div>
                    <p>
                        <%= item.description %>
                    </p>
                </div>
                <div style="font-weight: bold;">
                    <img src="../../Content/images/arrow.png" alt="" width="16" height="16" border="0">
                    <a href="/News/Details/<%= item.id %>">Đọc tiếp</a>
                    <div class="clear">
                    </div>
                </div>
            </div>
        </div>
        <%} %>
    </td>
</asp:Content>
